package com.mszlu.rpc.consumer.rpc;

import com.dai.rpc.annotation.MyMapping;
import com.dai.rpc.annotation.MyHttpClient;
import com.mszlu.rpc.provider.service.modal.Goods;

@MyHttpClient(value  = "goodsHttpRpc")
public interface GoodsHttpRpc {

    @MyMapping(url = "http://localhost:7777", api = "/provider/goods/{id}")
    Goods findGoods(Long id);
}
